package mode.modeOne;

public class Base {
    public void funcOne() {
        System.out.println("父类成员方法");
    }
}
class Derived extends Base{
    public void func() {
        System.out.println("子类成员方法");
    }

    public static void main(String[] args) {
        Derived der = new Derived();
        der.funcOne();
    }
}